package com.haisen.service;

import com.haisen.core.utils.PageResultSet;
import com.haisen.dataobject.dto.VerifyPubSubDTO;
import com.haisen.dataobject.entity.VerifyPubSub;
import com.haisen.dataobject.query.VerifyPubSubQuery;

import java.util.List;

public interface VerifyPubSubService {



    void create(VerifyPubSub verifyPubSub);
    void update(VerifyPubSub verifyPubSub);
    void delete(Long[] ids);
   List<VerifyPubSub> listAll();


    PageResultSet<VerifyPubSubDTO> findByPage(VerifyPubSubQuery verifyPubSubQuery);

    /**
     * 获取订阅者名称
     * 根据publishID来
     */

    List<String> getSubByPubId(Long pubId);
}
